Smart.. prevents NPE problems.