Fixed the retrieval of function declaration names.