Add support for zero-size arrays; add post-patcher