Improve view initializer