Added view integration code.