Moving inline functions into its own .h file.