Changed references access modifiers from private to protected