Re-add `ref($_[0])` conditional inside before content block