Inlined few functions, which used frequently