Simple implementation of 'prototype'