Fix issue #24 - Initialize arrays properly.