Use more specific types
Disable more security context tests on mobile