Added base loop class.