Preliminary "attributes allowed" code