Fixed bnc#808381 and added missing types to API documentation

I've sorted the type.