Dry up the code using Lombok annotations