More methods ported to C.