Custom sql types support