Removed warning deprecation from Database