Record type should be private by default, closes #1288