Add a spy to module so you can see inside for testing.