Added returnHome attribute
Added returnsHome(), terminates() and complete()