Added options to set default attributes and sizes of the viewers.