Move methods to a separate library.