Sample copy entity refactor example in PageTemplate