Fixed protected/private bug.