Added 'query' to available attribute writers so it can be set during with 'new'