[UPDATE] added type check flag.