First try to add graphite support into the core