HOTFIX: as_grey unintentionally converts ints to floats.