Updated code docs and README.