Added base for type demos; implemented sample for GZIP.