Correction to ViewModel registration by it type with parameters in constructor