Added implementation of h5p interface.
Fixe some small bugs.