Making sure 'setSize' and friends are functions