Better handling of module loading errors.
Starting to support id returns for MySQL.