Prepare db access too.