Removed libgfx dependency.