Removed prototype chain and clarified structure type