Expose the Expand module for backward compatibility.
Fix #18 by checking for "~", not "(~)".