Add class parameters and validations