Add function names for anonymous functions.
Add stripWhitespaces method. This fixes #10