Parse type annotations.