Remove unused function so jshint chills out.