Fix an API bug.

And fix a MoleculeItem render error