Added locations code.
Compiles.