Abstracted attribute helper to class #3282