Core library procedures and predicates depending on runtime data

context.user_ptr

May be what you are looking for.