A set of helpful Swift extensions