Added loading/loaded hooks to documentation