Squelch implementing deprecated method warning.

Signed-off-by: Aron Cedercrantz <aron@cedercrantz.se>
Merge pull request #15 from rastersize/master

Squelch implementing deprecated method warning.