Use the new null callbacks to simplify filters and reduce duplicated code.