Added Model macro to define a method to return a named stream