Fixed some Prototypes from being globally defined