Switched from using instanceof operator to a static volume type.

Signed-off-by: Jared Woolston <jwoolston@tenkiv.com>