Move initial implementation into `notes`.