Fixed populating schema file.