added PhotoAddComponentObject and PhotoOptionsComponentObject