clean menu extension class
Merge pull request #724 from bierdok/patch-6

clean menu extension class