Finished insert statement implementation.