Rewrote resource item templates