Adding simple protection -- probably will replace this with some sort of explicit @expose decorator or something later.