Slightly more abstraction of the instance locking.