Fixing api export