Made gamemode functions stock
Marked foreign natives as optional