bugfix: generics for @return did not work