Added parameter of repository method which returns entities.

Sometimes there is a need to add not all entities to the sitemap. For example only enabled etc. In this way it's cool to have an opportunity to specify repository method which returns required entities.