Added ability to cons atom and nil