Import message-based stub from api-stub