Added stylus support with compression.