- remove unnecessary/dangerous OBJECT_xxx function-style casts - fix -Wstrict-prototypes issue with OBJECT_NEW_FN definition