Reference class vars correctly