Fixed specs. Small code debugging.