Changed Loop class API; not yet complete