make it error when extra properties are passed