move base view registration to plugins