EntityFacet listens to entity modified.
Some refactoring on the Stockpile.