I think it will also be cumbersome to have so many predefined functions because we'll have to update logic in two places.