Update dynamic runtime to only return AsUntyped when necessary