Fix inheriting props.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>