Refactors the runtime library header to make common facilities reusable.  Now functions like get_arity_function exist.