To prevent unnecessary errors, please put this inside of an `if view:` statement.