This is starting to become quite common that there is need to 'cover' regular behavior on devboxes.
It's reducing maintainability and readability of code. 
Could we import relevant databases in this case instead of using those methods?