Add a method to get the trashed entity by node ID.