Fix factory call.