Fix bug with extending - fixes #12
0.2.2