Common library for code generating tools