Example for modeling and automatic code generating.