Add types to insert queries.
Update headers & doc blocks.