Added resize- and change-callbacks