Fix: functions shouldn't be available within class instantiation scopes

i.e. `new |` <- functions shouldn't available here