def attr_table():
    """ scan for attribute table. """
    from .register import Register
    from .space import db, kernel
    attr_table = Register()
    for prefix in db.prefixes():
        obj = db.last(prefix)
        if obj:
            for key in obj:
                kernel._attrs.register(key.lower(), prefix)
