Type of proxy to be created is now inherited from the parent chain,
if it already contains proxies and those are of the same type. Issue
#48