handler attributes with specs