Move placeholders to mixins
Add final newline option