Should be trivial. See https://github.com/infoforcefeed/greshunkel/blob/master/greshunkel/build.py#L114