Small reusable Go functions.