Initial (buggy) support for writing npa achieves