Add support to dbname option.