Add API to add molecules.