Removed local variables from views