extendStatefulMethods static method defined;