Added @WithAttributes to ease configuration of InputComponents