Fix 'declaration does not declare anything' regression i.e this closes #132.