Added the ability to perform an action before the subclass is constructed