Readded a missing piece of code to the identity constructor