Complete initial implementation.