Move declaration of instance variables into curly braces @implementation, to ensure they are not declared as static variables.