| update: new class method to help class creating instance directly.
| update: to hide `getMenu` method in `MenuItem` class.