I got tired of yellow error marks.

Import libraries when you need them. If you don't need every the Game
graphics library in every class, don't import it.