This is a hack but I couldn't find an elegant way to do this quickly.