Some basic init code.