Recommend using Class::XSAccessor.

Mite::Compiler takes advantage if available.
This will speed up accessors by about 2-3x.