Fixed a few troubles. Inserted prototypes for "try_generate" and "generate" routes.