Mark missing selectors as optional.

Fixes #2692 #3096 #4626 #5214 #5970 #6301 by marking the offending selectors as optional.

Assets precompilation now raises no concerns.