Semiworking version of function call.