Remove unnecessary loop. See #9