Implementing custom attrs.