Remove DB queries on class load