Some collected utilities