Use direct function call if possible