refactor : removed Resource::getReadCallback