Sanitize argument
Run a block in the context of the resource