Move some code into lau files.