Fixed problems with path dependent types #SCL-7008 Fixed