Added the ability to pass an extra extends file.