Server now entirely uses object types instead of flat numbers.