Fix missing constant
Use attr_writer
Add specs for operator methods