Handle type alias while implementing interface