Refactor PrioritizableRunnables and related classes