Fixed attribute completion bug.