DRY up before filters for /messages