Steal some other useful bits from other projects