Better distance for random walk, and 'implements' to 'extends' with
better names.