Changed references to 'entity' to 'body' instead.