Again changed method for recognizing particular functions.