updates all methods to return arrays. Adds `all` and `extname` methods.