Set default type properly