Make resourcehub easier to be extended on non BoxResourceType types.