Assessing resident competency.