Support for static methods/properties/fields in traits