moved accessors out of runtime.h