Adding typed properties and methods for spec keys