Make loadClass return Optional allowing the client to find out if the class is available.