Raise exceptions instead of return None values