Use closure so we don't end up with no defaultContext if this callback happens after the view has been torn down.