Add two more Perl API function wrappers.