Removed a reference cell by returning a return code on each matched pattern's result expression.