Fixed buggy typing.