Write tests.  Fix bugs.