Added type checking in resolver and relative path to example