Refactor some codes.
Added value for after_call.