Recognize known types (bool and integer)