Add warnings for code that needs removing
Add a check for the number of annotations