Add dependencies on core and graphics

Remove the fallback.