Adding init() method to make [Outputs] work with YAK

Some re-factoring to get YAK working (#1927)