Add a method to notify the container if parameters are changed through reference obtained by toArray.