Defining methods inside WhiteList module.
Using allowed_attribute? instead of allowed_element? since we're comparing attributes.