Add support for some default attributes for View