collect definitions starting to work for required modules