Adds resourceFilter option