core: stop directly exporting so much (trust that the compiler will inline accessors!)