Deprecated javascript stuff.
models