Replacing function in descendant classes as well
Implemented === and !==