Remove unnecessary 'flatten'
Merge pull request #34 from kansaichris/patch-1