Thanks for the code! My team was looking for a solution for this all season, I hope it will work for us.
I have managed to recreate the missing controls, they were present in the project as regular controls but the actual type def was missing so I fixed it.
The fixed project is attached
