A collection of common small boilerplate in Swift