Added chemical formula support