make type optional in menu creation methods