Add check for multiple types per variable