Fixed typo

Removed an unused method