Fix class Meta inheritance
Indent the templates a bit
Rename chmodas