Fixing errors with lambda functions; added symbol support