Fix NPE.

PoC, testing...