Fix for enumValues; adds fetch type for queryRow()

Also fixes some whitespace inconsistencies.