Clean up specification.