Injector can inject constructor functions