add proper initialization to Generic models and corresponding examples