Minor fixes in fields setter

- Remove unused variable
- Use correct type variable in error message
Add usage explanation to README