Wrap implementation in the lock_based namespace.