Clean up proxy class. Add destroy. Clean up ajax calls.