Removed the isTypeShared template as it's not needed.