Support attribute based registration.