Simplified if true / if not comparison operators
Removed arguments that equal to default parameter value
Removed redundant parenthesis
Removed trailing semicolon in statement
Argument equals default parameter value
Assignment replaced by augmented assignment
Inherit class from object