Complete initial autofocus implementation.