Collect the code that is frequently used.