Changed Pulsar to shading and updated API