Fixed PMD errors.
Added documentation on @Persistent support