SF comment
Flatten, check for null
Better name for param
Better name for param. Check the type.
Comment
Comment
Comment
Anonymous -> Inner, to give it a name and make it a bit more readable.