Fixed for KnpMenu commit - Introduced factory extension