Update deprecated propTypes