Updating for compatiblity with newer mysql module.