remove unused old factories
remove unused parameter
remove unneccesary partial class declation
remove unused using directives
add readonly to ordinalizers
Merge branch 'remove-unused-declarations'