Added entity deletion to engine