Workaround require_dependency and STI problem