Additions to populate the secondary menu through XML.

Additions needed to populate the secondary menu through XML.
Deployed to our local repo as 20130416-fdc

Deleted previous PR as I didn't mean to have it merged against master.