Checking method existance before calling them when possible