Cleans up spec