Fixed removed protobuf methods

whoops. Maybe I’ll compile next time before committing…