Add specs for expose() function. Add expose() function to pass specs.