Specs, refactoring, JSDoc.