Partially implemented soft-typing.