Streamline specs and some embedded Ruby.