Fix parameter type

Signed-off-by: Michal Čihař <michal@cihar.com>
Define property before using it

Signed-off-by: Michal Čihař <michal@cihar.com>
Pass correct parameters to PDF schema methods

All these take string as a parameter not a boolean values (as returned
isset).

Signed-off-by: Michal Čihař <michal@cihar.com>