Added clear and size methods