Use `Set` for locations.

Get's rid of the strange module as an abstract class pattern.

Hat-tip to @jdks