Fixed inner patterns allowing import patterns to be used