Types, basic error checking, basic dropdown added.