implementing versioned spec retrieval