Removed redundant setting of position.
Updated example code for Entity.last.