(#903) - Added opts argument to the compact() method globally.