Simplify add/update of ResourceHandler