Added global base and extension to Swift templates