Attribute api is almost done.