+ Added generic decode.