Shim bezier declaration

Note that even though the API docs state it uses the new syntax, it is
also compatible with the old one. It is likely neatest to drop that in
5.0.