Change core var to protected