Adds missing argument, replaces lock with fake lock