Remove unused main method for testing.