Added doctors functionality.