Fix 'declaration' type not added. Still causes type clash error.