Made some small member functions inline.