gf: New methods for various modular operations.