Adding PDF support