Improve static methods in traits