See TODO: What should be done if `accountManagerWithContext` is `null`?