Generics for methods returning table Cell.

closes #1804