Added typedef ResourceManagerPtr.