remove unused method and add some grammar stubs.