Started implementation of type extension.
Started implementation of type extension.

Tests don't pass yet, but I'm committing so that I can continue working from anoter computer.

gnarea/pyrecord,gnarea/pyrecord