1. Generate common function module.