Made members protected instead of private.