Library of small utility functions in gas