Location class type is removed. Its functions are put into corresponding
files.
Functions of Method are moved to module Method.