This is figuring out the priority lazily, I think it should be done eagerly and passed as a parameter to the PrioritizedCallable.