Parse snippets from `extends`

Without this, no snippets from `extends` get added.

@MarcWeber
Am I missing something here, or is this fix correct? If so, please merge.