First implementation of whitelist functionality.