removed no longer used method
refactoring addRequiredResource from hook to client