Cleaned up some code. Fixed an off by one error in engine which did not
initialize the last element in an instance to absent.