Don't use deconstantize or safe_constantize, for old Rails versions.