Implemented common Object methods on IfElseStatement.