Added has_* methods.