Updated parser to include boolean function call.