Added documentation for beforeUpdateCMSFields, beforeExtend, and afterExtend