Workaround for a bug with impl