added enhancement for the loading of parent trait class