Added warning if a component has no bonds.