Added type specs.