[pacman-dev] Patch: Clean up API