Fixes #4

Allow 'extends' field to be an array of schemas