Move forward decleration outside method as that itsn't valid.