Fixed github issues with expose and misc.