Make collection generic class configurable (just like Entity already is).