Code refactor of private member variables.