Add mutex support for AvlObject