Move view decorators into separate file.