Fixed bug with indent of 'inherit'
Added handling for the indentation of object types