Grape extension inspired on inherited-resources