Changed function names in TownScapeDB to comply with standards.