Add implementation of `notebook new'.