Add several new option on generating code