Instead the [current doc](https://tes5edit.github.io/docs/13-Scripting-Functions.html) has the property `ContainingMainRecord` instead, please change to `GetContainingMainRecord`. Thanks.
Instead the current doc has the property
ContainingMainRecordinstead, please change toGetContainingMainRecord.Thanks.