Why are you accessing everything through `attrs`? This is not a very good example for people to follow.