Declare properties in class extension for encapsulation.