Long overdue updates to kate file. Added functions, constants, new types, etc