Codes are modified and tested to remove dbSupported variable.