Properly cast things to avoid shiny yellow