Make getContext return null if context type not supported.