Implement various nil and bounds checks