add types for parsing expressions