Reimplement most basic routines except serialization and notification.