Corrected incorrect return type on `size` methods. Removed debugging.