Create a constructor using a compact notation for inheritance and prototype extension.