This can be removed by using ctor injection