Subscribe codec implementation