Fixed bug preventing cell constructor from being recognized (which prevented state from being captured)