Maybe this method should be at the end of the class.