Implemented a piece of Nape.