Add type annotations.