Added class parameters to manage variables.