Add absolute option to `extendClass` method