Resetting code.