Set strict type for member/key/value types too

fixes #280