Add element behavior in doc