Changed 'Scheme' to sum type