Modify return type of get method to boost variant<bool, STask> for error reporting