Added interface for resize and general runtime framework.