Change serial API
Increase effect flexibility