handle @Types on return