Making short functions inline and define longer ones outside the class