Added some extended capabilities to allow more control over queue implementations