Added methods to work on namelocks