Removed checkMethod(). Refactored.