Adding Location Service code.