Fixed Compound#elements so it returns a string