Separate code from header file.