Added delegate methods.