Stuff to get the code working.