Added extra method to get field type
Make sure settings is an instance of the Config class
Added missing use statement
Replace underscores when displaying sections