Move non-public methods to the implementation file.