Review court decisions granting motions to dismiss for failure to state a claim or lack of subject matter jurisdiction.