add some MPL-like features