Moved instantiation of runtimepolicies to the top