fixing the instance types definition, and configuration.to_s more friendly