Writing stub table() support