Added --allowNull option for better compatibility with code generated by Thrift compiler.