Add msgsize method