Remove PocketAPI dependency