Update to use metadata, and update travis suite.