IntelliJ will help you auto-generate these. Also, a simple test for the new behavior would be nice.