Implemented common Object methods for WhileStatement.