core: Add function indirection.