DeclareOptions in class