Outputting methods on types