Added appointment functionality.