Changed argument annotations to Res and Val with functionality matching 0.9.5 release
Updated version to 0.9.6