Support for casting more types