Fix #17 added upstream method to models