Correction on get attributes returns type