Avoid injection error due to two exisiting injected constructors.