Adding helper methods to traits