Separate functions into different files.