added menu hook for container factory (#302)