Fixed use of private variables.