Extract class for ActivityElements