Add nn implementations.