Removed unused private method.
Fix typo in error message.