Fix PersistentService interface Dao duplicated methods.
Fix warnings in core library