Ah shame, seems like you've thought these things more than the other library implementations I've used as reference. Anyways, will use this discussion as reference when pushing improvements.