Bean method access modifiers tightened