Move ws image buffer to ws object

Documentation missing.