Adds missing begin/end access calls.