Pushed private methods to the bottom.