Improve attribute methods post

Thanks @fgrehm and @maurogeorge