added note about unregistering for a class.