Returning Component objects instead of strings