Implements an add function that inserts MenuItem references; Used in RootMenuItem and MenuItem (by subclassing)