Adding parameters to class declaration