Fixing access modifiers