Added an optional call to onAfterCreation in the helper file for the creation plug-in