Change static methods to non-static

Signed-off-by: Bartosz Domin <bdomin93@gmail.com>
batchSize fix

Signed-off-by: Bartosz Domin <bdomin93@gmail.com>