Added getter for options

Signed-off-by: Antoine Neveux <antoine.neveux@gmail.com>