Added Support for D, fixed type for Erlang