Inline small member functions.
Add unit tests and functions for TableRow.
Inline some small functions.