Updated specs and fixed bug.