Add class doc.
Exclude tests from copy paste detection.
Compile on save.
Use a default template implementation for pure string content.