Make framework constructor protected