Inlined small methods.