Implemented clear() for variables.
Implemented pop() for variables.