attachClasses so that can be used by extending project