Made a unified API