Fixes issue with declaration