Dynamically adjust to the number of visual params sent.