Codec receives the Spoutcraft object

Signed-off-by: Chris Sanders <zidane@outlook.com>