Change dataports interface and handlers.

Still implementation is needed.