push attribute constant cache in to the attribute methods module
initialize generated modules on inclusion and on inheritence