Took out shares.h and added more comments