Add generator for gem initializing