Pins as private variables in object