Added more robust parsing of def information about function signatures.