Location is now an abstract class
Some fixes in the TypeScript version
Location.java