Added resize method to Enitity