Moved functions into lunit project.