Added elementClass option