FIX: Now using  instead of mysql_* (fixes #1).