Add base implementations of Encoders to grid, greatly improve performance