Fixed an odd bug with extension support.