Move some implementation details to *.inl files.