Non-working api class