Fix methods to use new View struct.
Indentation and spacing.