Updated declaration files and ts task to be 0.9.5 compatable.

Updated all the reference files.

Arrays must now contain all the same type.