Implementation of 007 and 008.