Graphite support

Change-Id: I47d66817252ccccb42ab5dfb8e4e69ab6acd56bc