move lots of attr_ calls over to typed getOption