Filters for scala templates