gracefully skipping declarations with non-anonymous functions