Master now returns the integrity scan class

This a better API design as it allows non-breaking changes as we move
forward.