Add remote function helper method