Type classes in case you are not able to use Spl extension.