Fixes issue49.