Use newer class names for python-mysql