Added bindClass procedure.