Useful utils that have similar interfaces as python