Generalized specification handling