Fixed compile errors

Fixed compile errors with GameObject and Controller code.