Inherit class from object
Removed unused parameters
Removed redundant parentheses