Rewrite Database::__call method