Inlined accessor functions and constructors