Extended layer support checker to analyze also elements of constructed layers (the ones declared with "def").