Fix bad return type
Fix indentation
Fix inheritance implementation
Upgrade formatter factory mechanism