Setup stuff in main.