Added resize capability.