Don't define helper methods on `main`.

This adds it to _every_ object, which we don't want.