Some enhancements to pack-oracle

Here are some miscellaneous enhancements to pack-oracle.