Hi guys, third revision of this patch set. I've re-worked the interface completely this time since my previous assumptions on how the reservation function of the xarray work weren't correct at all. I also added a test case to make sure I've got it right this time. Please review and comment, Christian.