add overrides for isComplete and getMaskLength
add overrides for isComplete and getMaskLength