Adding local generation.