remove flatten, consolidate functions and add @jonschlinkert to maintainers.