Fix ViewFactory initializer and caching issues - indentation. what else?