Convert `Locker` to prototypical object.