Moving helper methods to base.