Avoid using the deprecated class_inheritable_* macros.
Use AR 3 APIs.
Simplify the call.