Spec generator

@tscott