Cleanup, declare params, etc