Rename 'forms' to 'genres'
Code quality and documentation

- all() is guaranteed to be traversable, while xpath() is not