API cleanup.
Clean up URL scheme detection behavior, shared instance, storekit fixes.