erlang:removed stub read/write handling