Removing view member variables to avoid leaks in future usage