Simple Alternative to Type Class