WELD-1472 Update docs to contain imports

Not added imports to too short code examples.