Moved to glob syntax for 'extensions' as this is actually more powerful and accurate.