Extracting include behavior from included block

Closes #289