Fixed typo
Removed unused declarations.