Adds graphite support compatible with 3.3+