Fix error with get_callbacks() being called weirdly