Fixed defineModel for multiple input injection