Cleanup of method variables.