Cast to the correct class before trying to spawn it!