Remove some unnecessary inline declaration to optimize the binary size.