WW-4327 Defines new readonly attribute and cleans up templates