Define some short names locally

The ClassSpec and MethSpec structs are an implementation detail.