Some errors from the merge
Test for priority and a resource pool thingy.