apply_filters_ref_array() is a hook function

Fixes #54