The embed package is a lot more useful than I originally thought...