Implemented abstraction layer for Grit.